home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-02-28 | 3.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5e 32 63 6c 61 73 73 20 |........|^2class |
|00000010| 44 43 41 63 74 69 6f 6e | 5f 50 6c 61 79 53 6f 75 |DCAction|_PlaySou|
|00000020| 6e 64 20 65 78 74 65 6e | 64 73 20 44 43 68 61 72 |nd exten|ds DChar|
|00000030| 41 63 74 69 6f 6e 3b 0d | 0a 0d 0a 76 61 72 28 41 |Action;.|...var(A|
|00000040| 63 74 69 6f 6e 29 20 53 | 6f 75 6e 64 20 50 6c 61 |ction) S|ound Pla|
|00000050| 79 53 6f 75 6e 64 09 09 | 09 09 22 73 6f 75 6e 64 |ySound..|.."sound|
|00000060| 20 74 6f 20 70 6c 61 79 | 22 3b 0d 0a 76 61 72 28 | to play|";..var(|
|00000070| 41 63 74 69 6f 6e 29 09 | 66 6c 6f 61 74 20 53 6f |Action).|float So|
|00000080| 75 6e 64 56 6f 6c 75 6d | 65 09 09 09 22 30 2e 30 |undVolum|e..."0.0|
|00000090| 20 2d 20 31 2e 30 22 3b | 0d 0a 76 61 72 28 41 63 | - 1.0";|..var(Ac|
|000000a0| 74 69 6f 6e 29 09 66 6c | 6f 61 74 20 53 6f 75 6e |tion).fl|oat Soun|
|000000b0| 64 50 69 74 63 68 09 09 | 09 22 30 2e 35 20 2d 20 |dPitch..|."0.5 - |
|000000c0| 32 2e 30 2c 20 3e 20 31 | 36 20 61 73 73 75 6d 65 |2.0, > 1|6 assume|
|000000d0| 73 20 6d 69 73 74 61 6b | 65 20 61 6e 64 20 64 69 |s mistak|e and di|
|000000e0| 76 69 64 65 73 20 62 79 | 20 36 34 22 3b 0d 0a 76 |vides by| 64";..v|
|000000f0| 61 72 28 41 63 74 69 6f | 6e 29 09 66 6c 6f 61 74 |ar(Actio|n).float|
|00000100| 20 53 6f 75 6e 64 52 61 | 64 69 75 73 3b 0d 0a 76 | SoundRa|dius;..v|
|00000110| 61 72 28 41 63 74 69 6f | 6e 29 09 62 6f 6f 6c 20 |ar(Actio|n).bool |
|00000120| 62 41 74 74 65 6e 75 61 | 74 65 3b 0d 0a 76 61 72 |bAttenua|te;..var|
|00000130| 28 41 63 74 69 6f 6e 29 | 20 62 6f 6f 6c 20 62 4c |(Action)| bool bL|
|00000140| 6f 6f 6b 55 70 54 65 78 | 74 20 20 20 20 20 20 20 |ookUpTex|t |
|00000150| 20 20 20 20 20 22 6c 6f | 6f 6b 20 75 70 20 74 65 | "lo|ok up te|
|00000160| 78 74 20 66 72 6f 6d 20 | 73 63 72 69 70 74 20 6f |xt from |script o|
|00000170| 62 6a 65 63 74 3f 22 3b | 0d 0a 76 61 72 28 41 63 |bject?";|..var(Ac|
|00000180| 74 69 6f 6e 29 20 62 6f | 6f 6c 20 62 57 61 69 74 |tion) bo|ol bWait|
|00000190| 53 6f 75 6e 64 44 75 72 | 61 74 69 6f 6e 20 20 20 |SoundDur|ation |
|000001a0| 20 20 22 6d 61 6b 65 20 | 62 6f 74 20 77 61 69 74 | "make |bot wait|
|000001b0| 20 65 6e 74 69 72 65 20 | 73 6f 75 6e 64 20 64 75 | entire |sound du|
|000001c0| 72 61 74 69 6f 6e 3f 20 | 28 6f 76 65 72 72 69 64 |ration? |(overrid|
|000001d0| 65 73 20 44 75 72 61 74 | 69 6f 6e 29 22 3b 0d 0a |es Durat|ion)";..|
|000001e0| 76 61 72 28 41 63 74 69 | 6f 6e 29 20 66 6c 6f 61 |var(Acti|on) floa|
|000001f0| 74 20 44 75 72 61 74 69 | 6f 6e 20 20 20 20 20 20 |t Durati|on |
|00000200| 20 20 20 20 20 20 20 20 | 22 77 61 69 74 20 66 6f | |"wait fo|
|00000210| 72 20 64 75 72 61 74 69 | 6f 6e 3f 22 3b 0d 0a 76 |r durati|on?";..v|
|00000220| 61 72 28 41 63 74 69 6f | 6e 29 20 62 6f 6f 6c 20 |ar(Actio|n) bool |
|00000230| 62 4c 6f 6f 6b 41 74 50 | 6c 61 79 65 72 09 09 09 |bLookAtP|layer...|
|00000240| 22 61 6c 77 61 79 73 20 | 6c 6f 6f 6b 20 61 74 20 |"always |look at |
|00000250| 70 6c 61 79 65 72 3f 22 | 3b 0d 0a 76 61 72 28 41 |player?"|;..var(A|
|00000260| 63 74 69 6f 6e 29 20 62 | 6f 6f 6c 20 62 54 61 6c |ction) b|ool bTal|
|00000270| 6b 69 6e 67 4d 6f 75 74 | 68 09 09 09 22 4d 6f 75 |kingMout|h..."Mou|
|00000280| 74 68 20 74 61 6c 6b 73 | 20 77 68 69 6c 65 20 74 |th talks| while t|
|00000290| 68 69 73 20 61 6e 69 6d | 20 70 6c 61 79 73 3f 22 |his anim| plays?"|
|000002a0| 3b 0d 0a 76 61 72 28 41 | 63 74 69 6f 6e 29 20 6e |;..var(A|ction) n|
|000002b0| 61 6d 65 20 53 74 6f 70 | 4f 6e 45 76 65 6e 74 09 |ame Stop|OnEvent.|
|000002c0| 09 09 22 61 62 6f 72 74 | 20 73 6f 75 6e 64 20 77 |.."abort| sound w|
|000002d0| 68 65 6e 20 74 68 69 73 | 20 65 76 65 6e 74 20 69 |hen this| event i|
|000002e0| 73 20 74 72 69 67 67 65 | 72 65 64 22 3b 0d 0a 76 |s trigge|red";..v|
|000002f0| 61 72 28 41 63 74 69 6f | 6e 29 20 66 6c 6f 61 74 |ar(Actio|n) float|
|00000300| 20 44 65 6c 61 79 09 09 | 09 09 09 22 68 6f 77 20 | Delay..|..."how |
|00000310| 6c 6f 6e 67 20 74 6f 20 | 64 65 6c 61 79 20 62 65 |long to |delay be|
|00000320| 66 6f 72 65 20 70 6c 61 | 79 69 6e 67 22 3b 0d 0a |fore pla|ying";..|
|00000330| 0d 0a 76 61 72 28 41 63 | 74 69 6f 6e 29 20 65 6e |..var(Ac|tion) en|
|00000340| 75 6d 20 45 50 6c 61 79 | 53 6f 75 6e 64 4d 65 74 |um EPlay|SoundMet|
|00000350| 68 6f 64 0d 0a 7b 0d 0a | 20 20 20 20 45 50 53 4d |hod..{..| EPSM|
|00000360| 5f 41 6d 62 69 65 6e 74 | 2c 0d 0a 20 20 20 20 45 |_Ambient|,.. E|
|00000370| 50 53 4d 5f 4e 6f 72 6d | 61 6c 0d 0a 7d 20 50 6c |PSM_Norm|al..} Pl|
|00000380| 61 79 4d 65 74 68 6f 64 | 20 20 20 20 20 20 20 20 |ayMethod| |
|00000390| 20 20 20 20 20 22 6d 65 | 74 68 6f 64 20 74 6f 20 | "me|thod to |
|000003a0| 70 6c 61 79 20 73 6f 75 | 6e 64 22 3b 0d 0a 0d 0a |play sou|nd";....|
|000003b0| 76 61 72 20 62 6f 6f 6c | 20 62 44 6f 54 69 63 6b |var bool| bDoTick|
|000003c0| 3b 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 74 |;....fun|ction St|
|000003d0| 61 72 74 41 63 74 69 6f | 6e 28 29 0d 0a 7b 0d 0a |artActio|n()..{..|
|000003e0| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 57 61 69 |.local f|loat Wai|
|000003f0| 74 54 69 6d 65 3b 0d 0a | 09 6c 6f 63 61 6c 20 44 |tTime;..|.local D|
|00000400| 43 68 61 72 50 75 70 70 | 65 74 20 50 75 70 70 65 |CharPupp|et Puppe|
|00000410| 74 65 65 72 3b 0d 0a 09 | 0d 0a 09 50 75 70 70 65 |teer;...|...Puppe|
|00000420| 74 65 65 72 20 3d 20 4d | 79 53 65 71 75 65 6e 63 |teer = M|ySequenc|
|00000430| 65 2e 4d 79 46 61 63 74 | 6f 72 79 2e 50 75 70 70 |e.MyFact|ory.Pupp|
|00000440| 65 74 65 65 72 3b 0d 0a | 09 0d 0a 09 2f 2f 20 48 |eteer;..|....// H|
|00000450| 61 63 6b 20 66 69 78 20 | 66 6f 72 20 6f 6c 64 20 |ack fix |for old |
|00000460| 76 61 6c 75 65 20 6f 62 | 6a 65 63 74 73 0d 0a 09 |value ob|jects...|
|00000470| 69 66 28 20 53 6f 75 6e | 64 50 69 74 63 68 20 3e |if( Soun|dPitch >|
|00000480| 20 31 36 2e 30 66 20 29 | 0d 0a 09 09 53 6f 75 6e | 16.0f )|....Soun|
|00000490| 64 50 69 74 63 68 20 2f | 3d 20 36 34 2e 30 66 3b |dPitch /|= 64.0f;|
|000004a0| 0d 0a 0d 0a 09 69 66 28 | 20 53 74 6f 70 4f 6e 45 |.....if(| StopOnE|
|000004b0| 76 65 6e 74 3f 20 29 0d | 0a 09 7b 0d 0a 09 09 50 |vent? ).|..{....P|
|000004c0| 75 70 70 65 74 65 65 72 | 2e 41 64 64 53 6f 75 6e |uppeteer|.AddSoun|
|000004d0| 64 45 76 65 6e 74 0d 0a | 09 09 28 20 0d 0a 09 09 |dEvent..|..( ....|
|000004e0| 09 50 6c 61 79 53 6f 75 | 6e 64 2c 20 0d 0a 09 09 |.PlaySou|nd, ....|
|000004f0| 09 53 4c 4f 54 5f 54 61 | 6c 6b 2c 20 0d 0a 09 09 |.SLOT_Ta|lk, ....|
|00000500| 09 28 50 6c 61 79 4d 65 | 74 68 6f 64 3d 3d 45 50 |.(PlayMe|thod==EP|
|00000510| 53 4d 5f 41 6d 62 69 65 | 6e 74 29 2c 0d 0a 09 09 |SM_Ambie|nt),....|
|00000520| 09 53 74 6f 70 4f 6e 45 | 76 65 6e 74 0d 0a 09 09 |.StopOnE|vent....|
|00000530| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 69 66 28 20 44 |);...}..|...if( D|
|00000540| 65 6c 61 79 20 3d 3d 20 | 30 2e 30 66 20 29 0d 0a |elay == |0.0f )..|
|00000550| 09 09 50 6c 61 79 54 68 | 65 53 6f 75 6e 64 28 29 |..PlayTh|eSound()|
|00000560| 3b 09 0d 0a 20 09 65 6c | 73 65 20 0d 0a 09 09 62 |;... .el|se ....b|
|00000570| 44 6f 54 69 63 6b 20 3d | 20 74 72 75 65 3b 0d 0a |DoTick =| true;..|
|00000580| 0d 0a 20 20 20 20 69 66 | 28 20 62 57 61 69 74 53 |.. if|( bWaitS|
|00000590| 6f 75 6e 64 44 75 72 61 | 74 69 6f 6e 20 7c 7c 20 |oundDura|tion || |
|000005a0| 44 75 72 61 74 69 6f 6e | 20 21 3d 20 2d 31 2e 30 |Duration| != -1.0|
|000005b0| 20 29 0d 0a 20 20 20 20 | 7b 0d 0a 09 09 50 75 70 | ).. |{....Pup|
|000005c0| 70 65 74 65 65 72 2e 4d | 79 41 63 74 69 6f 6e 20 |peteer.M|yAction |
|000005d0| 3d 20 73 65 6c 66 3b 0d | 0a 09 09 0d 0a 09 09 69 |= self;.|.......i|
|000005e0| 66 20 28 20 62 57 61 69 | 74 53 6f 75 6e 64 44 75 |f ( bWai|tSoundDu|
|000005f0| 72 61 74 69 6f 6e 20 29 | 0d 0a 09 09 7b 0d 0a 09 |ration )|....{...|
|00000600| 09 09 57 61 69 74 54 69 | 6d 65 20 3d 20 47 65 74 |..WaitTi|me = Get|
|00000610| 42 6f 74 28 29 2e 47 65 | 74 53 6f 75 6e 64 44 75 |Bot().Ge|tSoundDu|
|00000620| 72 61 74 69 6f 6e 28 20 | 50 6c 61 79 53 6f 75 6e |ration( |PlaySoun|
|00000630| 64 20 29 20 2b 20 44 65 | 6c 61 79 3b 0d 0a 09 09 |d ) + De|lay;....|
|00000640| 09 50 75 70 70 65 74 65 | 65 72 2e 44 6f 4e 6f 74 |.Puppete|er.DoNot|
|00000650| 68 69 6e 67 28 20 57 61 | 69 74 54 69 6d 65 20 29 |hing( Wa|itTime )|
|00000660| 3b 0d 0a 09 09 7d 0d 0a | 09 09 65 6c 73 65 0d 0a |;....}..|..else..|
|00000670| 09 09 7b 0d 0a 09 09 09 | 57 61 69 74 54 69 6d 65 |..{.....|WaitTime|
|00000680| 20 3d 20 46 4d 61 78 28 | 20 44 75 72 61 74 69 6f | = FMax(| Duratio|
|00000690| 6e 2c 20 30 2e 30 20 29 | 20 2b 20 44 65 6c 61 79 |n, 0.0 )| + Delay|
|000006a0| 3b 0d 0a 09 09 09 50 75 | 70 70 65 74 65 65 72 2e |;.....Pu|ppeteer.|
|000006b0| 44 6f 4e 6f 74 68 69 6e | 67 28 20 57 61 69 74 54 |DoNothin|g( WaitT|
|000006c0| 69 6d 65 20 29 3b 0d 0a | 09 09 7d 0d 0a 20 20 20 |ime );..|..}.. |
|000006d0| 20 7d 0d 0a 09 65 6c 73 | 65 0d 0a 20 20 20 09 09 | }...els|e.. ..|
|000006e0| 46 69 6e 69 73 68 41 63 | 74 69 6f 6e 28 29 3b 0d |FinishAc|tion();.|
|000006f0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 50 |.}....fu|nction P|
|00000700| 6c 61 79 54 68 65 53 6f | 75 6e 64 28 29 0d 0a 7b |layTheSo|und()..{|
|00000710| 0d 0a 09 6c 6f 63 61 6c | 20 44 43 68 61 72 50 75 |...local| DCharPu|
|00000720| 70 70 65 74 20 50 75 70 | 70 65 74 65 65 72 3b 0d |ppet Pup|peteer;.|
|00000730| 0a 09 6c 6f 63 61 6c 20 | 44 47 61 6d 65 50 6c 61 |..local |DGamePla|
|00000740| 79 65 72 20 44 47 50 3b | 0d 0a 09 0d 0a 09 50 75 |yer DGP;|......Pu|
|00000750| 70 70 65 74 65 65 72 20 | 3d 20 4d 79 53 65 71 75 |ppeteer |= MySequ|
|00000760| 65 6e 63 65 2e 4d 79 46 | 61 63 74 6f 72 79 2e 50 |ence.MyF|actory.P|
|00000770| 75 70 70 65 74 65 65 72 | 3b 0d 0a 20 20 20 20 0d |uppeteer|;.. .|
|00000780| 0a 09 69 66 20 28 20 50 | 6c 61 79 4d 65 74 68 6f |..if ( P|layMetho|
|00000790| 64 20 3d 3d 20 45 50 53 | 4d 5f 41 6d 62 69 65 6e |d == EPS|M_Ambien|
|000007a0| 74 20 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |t ).. | {.. |
|000007b0| 20 20 20 20 47 65 74 42 | 6f 74 28 29 2e 41 6d 62 | GetB|ot().Amb|
|000007c0| 69 65 6e 74 53 6f 75 6e | 64 20 3d 20 50 6c 61 79 |ientSoun|d = Play|
|000007d0| 53 6f 75 6e 64 3b 0d 0a | 20 20 20 20 20 20 20 20 |Sound;..| |
|000007e0| 47 65 74 42 6f 74 28 29 | 2e 53 6f 75 6e 64 56 6f |GetBot()|.SoundVo|
|000007f0| 6c 75 6d 65 20 3d 20 53 | 6f 75 6e 64 56 6f 6c 75 |lume = S|oundVolu|
|00000800| 6d 65 3b 0d 0a 20 20 20 | 20 20 20 20 20 47 65 74 |me;.. | Get|
|00000810| 42 6f 74 28 29 2e 53 6f | 75 6e 64 50 69 74 63 68 |Bot().So|undPitch|
|00000820| 20 3d 20 53 6f 75 6e 64 | 50 69 74 63 68 3b 0d 0a | = Sound|Pitch;..|
|00000830| 20 20 20 20 20 20 20 20 | 47 65 74 42 6f 74 28 29 | |GetBot()|
|00000840| 2e 53 6f 75 6e 64 52 61 | 64 69 75 73 20 3d 20 53 |.SoundRa|dius = S|
|00000850| 6f 75 6e 64 52 61 64 69 | 75 73 3b 0d 0a 20 20 20 |oundRadi|us;.. |
|00000860| 20 7d 0d 0a 20 20 20 20 | 65 6c 73 65 20 69 66 20 | }.. |else if |
|00000870| 28 20 50 6c 61 79 4d 65 | 74 68 6f 64 20 3d 3d 20 |( PlayMe|thod == |
|00000880| 45 50 53 4d 5f 4e 6f 72 | 6d 61 6c 20 29 0d 0a 09 |EPSM_Nor|mal )...|
|00000890| 7b 0d 0a 09 09 69 66 28 | 20 47 65 74 42 6f 74 28 |{....if(| GetBot(|
|000008a0| 29 2e 49 73 4d 61 74 69 | 6e 65 65 41 63 74 69 76 |).IsMati|neeActiv|
|000008b0| 65 28 29 20 29 0d 0a 09 | 09 09 47 65 74 42 6f 74 |e() )...|..GetBot|
|000008c0| 28 29 2e 50 6c 61 79 53 | 6f 75 6e 64 28 20 50 6c |().PlayS|ound( Pl|
|000008d0| 61 79 53 6f 75 6e 64 2c | 20 53 4c 4f 54 5f 54 61 |aySound,| SLOT_Ta|
|000008e0| 6c 6b 2c 20 53 6f 75 6e | 64 56 6f 6c 75 6d 65 2c |lk, Soun|dVolume,|
|000008f0| 20 46 41 4c 53 45 2c 20 | 53 6f 75 6e 64 52 61 64 | FALSE, |SoundRad|
|00000900| 69 75 73 2c 20 2f 2a 53 | 6f 75 6e 64 50 69 74 63 |ius, /*S|oundPitc|
|00000910| 68 2a 2f 2c 20 62 41 74 | 74 65 6e 75 61 74 65 20 |h*/, bAt|tenuate |
|00000920| 29 3b 0d 0a 09 09 65 6c | 73 65 09 09 09 0d 0a 09 |);....el|se......|
|00000930| 09 09 47 65 74 42 6f 74 | 28 29 2e 50 6c 61 79 53 |..GetBot|().PlayS|
|00000940| 6f 75 6e 64 28 20 50 6c | 61 79 53 6f 75 6e 64 2c |ound( Pl|aySound,|
|00000950| 20 53 4c 4f 54 5f 54 61 | 6c 6b 2c 20 53 6f 75 6e | SLOT_Ta|lk, Soun|
|00000960| 64 56 6f 6c 75 6d 65 2c | 20 46 41 4c 53 45 2c 20 |dVolume,| FALSE, |
|00000970| 53 6f 75 6e 64 52 61 64 | 69 75 73 20 29 3b 20 2f |SoundRad|ius ); /|
|00000980| 2f 2c 20 2f 2a 53 6f 75 | 6e 64 50 69 74 63 68 2a |/, /*Sou|ndPitch*|
|00000990| 2f 2c 20 62 41 74 74 65 | 6e 75 61 74 65 20 29 3b |/, bAtte|nuate );|
|000009a0| 0d 0a 09 7d 0d 0a 09 69 | 66 28 20 62 54 61 6c 6b |...}...i|f( bTalk|
|000009b0| 69 6e 67 4d 6f 75 74 68 | 20 29 0d 0a 09 7b 0d 0a |ingMouth| )...{..|
|000009c0| 09 09 47 65 74 42 6f 74 | 28 29 2e 53 65 74 41 6e |..GetBot|().SetAn|
|000009d0| 69 6d 53 74 61 74 65 28 | 20 41 53 5f 54 61 6c 6b |imState(| AS_Talk|
|000009e0| 69 6e 67 2c 20 74 72 75 | 65 20 29 3b 0d 0a 09 09 |ing, tru|e );....|
|000009f0| 50 75 70 70 65 74 65 65 | 72 2e 53 65 74 54 61 6c |Puppetee|r.SetTal|
|00000a00| 6b 54 69 6d 65 72 28 20 | 47 65 74 42 6f 74 28 29 |kTimer( |GetBot()|
|00000a10| 2e 47 65 74 53 6f 75 6e | 64 44 75 72 61 74 69 6f |.GetSoun|dDuratio|
|00000a20| 6e 28 20 50 6c 61 79 53 | 6f 75 6e 64 20 29 20 29 |n( PlayS|ound ) )|
|00000a30| 3b 0d 0a 09 7d 0d 0a 0d | 0a 20 20 20 20 69 66 20 |;...}...|. if |
|00000a40| 28 20 62 4c 6f 6f 6b 55 | 70 54 65 78 74 20 29 0d |( bLookU|pText ).|
|00000a50| 0a 20 20 20 20 20 20 20 | 20 47 65 74 42 6f 74 28 |. | GetBot(|
|00000a60| 29 2e 42 72 6f 61 64 63 | 61 73 74 43 6c 69 65 6e |).Broadc|astClien|
|00000a70| 74 4c 6f 63 61 6c 69 7a | 65 64 4d 65 73 73 61 67 |tLocaliz|edMessag|
|00000a80| 65 28 20 22 44 4d 65 73 | 73 61 67 65 73 2e 44 53 |e( "DMes|sages.DS|
|00000a90| 75 62 54 69 74 6c 65 4d | 65 73 73 61 67 65 3f 54 |ubTitleM|essage?T|
|00000aa0| 65 78 74 3d 22 24 63 6c | 61 73 73 27 44 53 63 72 |ext="$cl|ass'DScr|
|00000ab0| 69 70 74 54 65 78 74 27 | 2e 73 74 61 74 69 63 2e |iptText'|.static.|
|00000ac0| 47 65 74 53 63 72 69 70 | 74 54 65 78 74 28 20 50 |GetScrip|tText( P|
|00000ad0| 6c 61 79 53 6f 75 6e 64 | 20 29 20 29 3b 0d 0a 09 |laySound| ) );...|
|00000ae0| 09 2f 2f 47 65 74 42 6f | 74 28 29 2e 42 72 6f 61 |.//GetBo|t().Broa|
|00000af0| 64 63 61 73 74 4d 65 73 | 73 61 67 65 28 20 63 6c |dcastMes|sage( cl|
|00000b00| 61 73 73 27 44 53 63 72 | 69 70 74 54 65 78 74 27 |ass'DScr|iptText'|
|00000b10| 2e 73 74 61 74 69 63 2e | 47 65 74 53 63 72 69 70 |.static.|GetScrip|
|00000b20| 74 54 65 78 74 28 20 50 | 6c 61 79 53 6f 75 6e 64 |tText( P|laySound|
|00000b30| 20 29 20 29 3b 0d 0a 09 | 0d 0a 09 69 66 20 28 20 | ) );...|...if ( |
|00000b40| 62 4c 6f 6f 6b 41 74 50 | 6c 61 79 65 72 20 29 0d |bLookAtP|layer ).|
|00000b50| 0a 09 7b 0d 0a 09 09 66 | 6f 72 65 61 63 68 20 47 |..{....f|oreach G|
|00000b60| 65 74 42 6f 74 28 29 2e | 41 6c 6c 41 63 74 6f 72 |etBot().|AllActor|
|00000b70| 73 28 20 63 6c 61 73 73 | 27 44 47 61 6d 65 50 6c |s( class|'DGamePl|
|00000b80| 61 79 65 72 27 2c 20 44 | 47 50 20 29 0d 0a 09 09 |ayer', D|GP )....|
|00000b90| 7b 0d 0a 09 09 09 69 66 | 20 28 20 44 47 50 2e 49 |{.....if| ( DGP.I|
|00000ba0| 73 48 75 6d 61 6e 43 6f | 6e 74 72 6f 6c 6c 65 64 |sHumanCo|ntrolled|
|00000bb0| 28 29 20 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |() )....|.{......|
|00000bc0| 50 75 70 70 65 74 65 65 | 72 2e 4c 6f 6f 6b 54 61 |Puppetee|r.LookTa|
|00000bd0| 72 67 65 74 20 3d 20 44 | 47 50 3b 0d 0a 09 09 09 |rget = D|GP;.....|
|00000be0| 09 62 72 65 61 6b 3b 0d | 0a 09 09 09 7d 0d 0a 09 |.break;.|....}...|
|00000bf0| 09 7d 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |.}...}..|}....fun|
|00000c00| 63 74 69 6f 6e 20 41 63 | 74 69 6f 6e 54 69 63 6b |ction Ac|tionTick|
|00000c10| 28 20 66 6c 6f 61 74 20 | 44 65 6c 74 61 54 69 6d |( float |DeltaTim|
|00000c20| 65 20 29 0d 0a 7b 0d 0a | 09 69 66 28 20 62 44 6f |e )..{..|.if( bDo|
|00000c30| 54 69 63 6b 20 29 0d 0a | 09 7b 0d 0a 09 09 44 65 |Tick )..|.{....De|
|00000c40| 6c 61 79 20 2d 3d 20 44 | 65 6c 74 61 54 69 6d 65 |lay -= D|eltaTime|
|00000c50| 3b 0d 0a 09 09 69 66 28 | 20 44 65 6c 61 79 20 3c |;....if(| Delay <|
|00000c60| 3d 20 30 2e 30 66 20 29 | 0d 0a 09 09 7b 0d 0a 09 |= 0.0f )|....{...|
|00000c70| 09 09 50 6c 61 79 54 68 | 65 53 6f 75 6e 64 28 29 |..PlayTh|eSound()|
|00000c80| 3b 0d 0a 09 09 09 62 44 | 6f 54 69 63 6b 20 3d 20 |;.....bD|oTick = |
|00000c90| 66 61 6c 73 65 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |false;..|..}...}.|
|00000ca0| 0a 7d 09 0d 0a 0d 0a 00 | |.}......| |
+--------+-------------------------+-------------------------+--------+--------+